package jxl;

import java.io.File;

import jxl.write.Label;
import jxl.write.WritableSheet;
import jxl.write.WritableWorkbook;

public class UpdateXLS {
	public static void main(String[] args) {
		try {
			Workbook wb = Workbook.getWorkbook(new File("C:/a.xls"));
			WritableWorkbook book = Workbook.createWorkbook(
					new File("C:/a.xls"), wb);
			WritableSheet sheet = book.createSheet("Sheet_2", 1);
			sheet.addCell(new Label(1, 1, "我去？"));
			book.write();
			book.close();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
